package com.xyh.bean;

/**
 * @Author: XiongYuhao
 * @Date: 2020/10/25 0025-下午 12:07
 * @Description: MyForestManagerSystem
 * @version：1.0
 */
public class Area {
    private int areaId;
    private String areaName;
    private String treeType;
    private String land;
    private String advTree;
    private ManagerClass mc;

    public Area() {
    }

    public Area(String areaName, String treeType, String advTree, String land) {
        this.areaName = areaName;
        this.treeType = treeType;
        this.land = land;
        this.advTree = advTree;
    }

    public Area(int areaId, String areaName, String treeType, String land, String advTree, ManagerClass mc) {
        this.areaId = areaId;
        this.areaName = areaName;
        this.treeType = treeType;
        this.land = land;
        this.advTree = advTree;
        this.mc = mc;
    }

    public int getAreaId() {
        return areaId;
    }

    public void setAreaId(int areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getTreeType() {
        return treeType;
    }

    public void setTreeType(String treeType) {
        this.treeType = treeType;
    }

    public String getLand() {
        return land;
    }

    public void setLand(String land) {
        this.land = land;
    }

    public String getAdvTree() {
        return advTree;
    }

    public void setAdvTree(String advTree) {
        this.advTree = advTree;
    }

    public ManagerClass getMc() {
        return mc;
    }

    public void setMc(ManagerClass mc) {
        this.mc = mc;
    }

    @Override
    public String toString() {
        return "Area{" +
                "areaId=" + areaId +
                ", areaName='" + areaName + '\'' +
                ", treeType='" + treeType + '\'' +
                ", land='" + land + '\'' +
                ", advTree='" + advTree + '\'' +
                ", mc=" + mc +
                '}';
    }
}
